package com.yf.mapper;

import com.yf.dto.ContentFileWithTitle;
import com.yf.entity.CmsContentFile;
import com.yf.entity.CmsContentFileExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsContentFileMapper {
    long countByExample(CmsContentFileExample example);

    int deleteByExample(CmsContentFileExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsContentFile record);

    int insertSelective(CmsContentFile record);

    List<CmsContentFile> selectByExample(CmsContentFileExample example);

    CmsContentFile selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsContentFile record, @Param("example") CmsContentFileExample example);

    int updateByExample(@Param("record") CmsContentFile record, @Param("example") CmsContentFileExample example);

    int updateByPrimaryKeySelective(CmsContentFile record);

    int updateByPrimaryKey(CmsContentFile record);
    
    List<ContentFileWithTitle> selectWithTitleByExample(CmsContentFileExample example);
}